package edu.lyun.stumvc.service;

import edu.lyun.stumvc.entity.Student;
import edu.lyun.stumvc.entity.vo.request.StudentRequest;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface StudentService {
    List<StudentRequest> selectAllFromStudents();

    int deleteStudentsWhereIdEqual(@Param("id") int id);

    int updateStudentsByStudent(@Param("student") Student student);

    int insertIntoStudentsByStudent(@Param("student") Student student);
}
